//面包屑
const path = ['仓库管理', '出库管理', {
	label: '售后出库列表',
	name: 'afterSaleLeaveWarehouse'
}, '列表详情'];
//状态条
const stepOption = {
	activeStep: 0,
	step: []
};
//单号和状态
const tabFormInline = [];
//出库单基础信息
const tableFormInline = [];
//个人信息
const tableFormInline2 = [];
const tableFormInlineNew = [];
//表头—— 商品明细
const tableHeaderData = [
	{
		prop:'barCode',
		label:'条码',
		width:'160'
	},
	{
		prop:'goodCode',
		label:'商品编码',
		width:'140'
	},
	{
		prop:'customNumber',
		label:'定制编码',
		width:'140'
	},
	{
		prop:'category',
		label:'产品小类-品类',
		width:'120'
	},
	{
		prop:'descrption',
		label:'描述',
		width:'200'
	},
	{
		prop:'amount',
		label:'出库数量',
		width:'100'
	},
	{
		prop:'unit',
		label:'单位',
		width:'60'
	},
	{
		prop:'giaWaistSize',
		label:'GIA腰码',
		width:'100'
	},
	{
		prop:'nationalCheckCertificate',
		label:'国检证书号',
		width:'120'
	},
	{
		prop:'productTotalWeight',
		label:'成品总重',
		width:'100'
	},
	{
		prop:'lettering',
		label:'刻字',
		width:'100'
	},
	{
		prop:'specialCustomizations',
		label:'特殊定制要求',
		width:'140'
	},
]
//表头—— 包材明细
const tableHeaderData2 = [
	{
		prop:'materialCode',
		label:'商品编码',
		width:''
	},
	{
		prop:'materialName',
		label:'商品名称',
		width:''
	},
	{
		prop:'outAmount',
		label:'数量',
		width:''
	},
	{
		prop:'outUnit',
		label:'单位',
		width:''
	},
]
//表头—— 开票信息
const tableHeaderData3 = [
	{
		prop:'exclusiveCode',
		label:'发票号',
		width:''
	},
	{
		prop:'orderAmount',
		label:'发票明细',
		width:''
	},
	{
		prop:'amountPayable',
		label:'公司名称',
		width:''
	},
	{
		prop:'payStatus',
		label:'税号',
		width:''
	},
	{
		prop:'payAmount',
		label:'发票金额',
		width:''
	},
	{
		prop:'payRatio',
		label:'开票时间',
		width:''
	},
	{
		prop:'dsa',
		label:'操作人',
		width:''
	},
	{
		prop:'asd',
		label:'财务确认',
		width:''
	},
]
//表头—— 编辑包材
const materialsHeader = [
	{
		prop:'materialCode',
		label:'商品编码',
		width:''
	},
	{
		prop:'materialName',
		label:'商品名称',
		width:''
	},
]
const tableDataOut = [];
const tableData2Out = [];
const materialsTableData = [];
//分页
const pager = {
	params: {
		pageIndex: 1,
		pageSize: 10,
	},
	pageTotal: 100,
	pageSizeArr: [10, 20, 30, 40]
};
const formInline = {}
let Model = {
	data() {
		return {
			Model: {
				queryData: undefined,
				path,
				pager,
				activeTab: '1',
				tabFormInline,						//单号和状态
				tableFormInline,					//出库单基础信息				
				tableFormInline2,					//用户地址(旧地址)
				tableFormInlineNew,					//用户地址(新地址)	
				AdressChange:false,					//地址有无变更
				stepOption,							//状态条
				tableHeaderData,					//商品明细（表头）
				tableHeaderData2,					//包材明细（表头）
				tableHeaderData3,					//发票信息（表头）
				materialsHeader,					//包材弹窗（表头）
				Outofstock:'1',						//出库否
				OutofstockBtn:'1',
				Packmaterials:false,				//包材弹窗			
				logisticsDilog:false,				//物流弹窗
				logisticsBtn:false,					//物流按钮是否显示
				interflow:false,					//默认无物流
				materialsTableData,
				logisticsNumbers:null,
				tableDataOut:[],
				tableData2Out:[],
				formInline,
				PackmaterStatus:false,				//实出包材默认不显示
				PackmaterNewsStatus:false,			//应出包材详情默认不显示
				allLogistics:[
					{
						label:'顺丰',
						value:'10'
					},
					/*{
						label:'EMS',
						value:'20'
					}*/
				],
				expressWay:'0',						//默认快递支付方式
				detailTableFrom: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				detailTableFrom2: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab1TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab2TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab2TableDetail2: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab3TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab3TableDetail2: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
				tab4TableDetail1: {
					src: require('@/assets/img/icon_unfold.png'),
					flag: true
				},
			}
		}
	}
}
export default Model;
